package suzf.top.usercenter.injection.component

import dagger.Component
import suzf.top.base.injection.PerComponentScope
import suzf.top.base.injection.component.ActivityComponent
import suzf.top.usercenter.injection.module.UploadModule
import suzf.top.usercenter.injection.module.UserModule
import suzf.top.usercenter.ui.activity.*

/**
 *
 *========================
 * Created with AndroidStudio
 * Author:Mr.Su
 * Date:2019-09-08
 * Time:16:54
 * ========================
 */
@PerComponentScope
@Component(dependencies = arrayOf(ActivityComponent::class),modules = arrayOf(UserModule::class,UploadModule::class))
interface UserComponent {

    fun inject(registerActivity: RegisterActivity)

    fun inject(loginActivity: LoginActivity)

    fun inject(forgetPwdActivity: ForgetPwdActivity)

    fun inject(resetPwdActivity: ResetPwdActivity)

    fun inject(userInfoActivity: UserInfoActivity)
}